<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="height=device-height,width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>

<title>结伴旅行设备注册</title>
<link href="img/css/css.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div class="logo"><img src="img/logo.png"></div>
<div class="input_title mt20">请输入在MRN上显示的Device ID</div>
<div class="input_form mt20"><input name="deviceIds" id="deviceIds" value="1A32267BA0AB11221220"  type="text" class="formstyle"/></div>
<div class="input_info mt20">
      <p>您要输入的Device ID可以在车机的"关于"中找到。</p>
      <p>您要输入的Device ID可以在车机的"关于"中找到。</p>
      <p>您要输入的Device ID可以在车机的"关于"中找到。</p>
</div>
<footer>
<div class="bottom_btn">
     <div class="left_btn"><p class="ico_group"><a href="#"><img src="img/cancel_btn.png" class="img">取消</a></p></div>
     <div class="right_btn line_left" id="b01"><p class="ico_group"><a href="#" ><img src="img/ok_btn.png" class="img">确定</a></p></div>
</div>
</footer>
</body>
</html>

<script type="text/javascript">
	$(document).ready(function(){
	  $("#b01").click(function(){
	  	var deviceId = document.getElementById("deviceIds").value;
			if(deviceId==null || deviceId=="" || deviceId.length!=20){
				alert("DEVICEID长度必须是20位");//1A32267BA0AB11221117
				return false;	
			}
	  	
	  	window.location = "redit.html";
	  	
	  	
	  });
	  $('footer').show();
	
});

</script>